-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple scaling modifications #2666
Conversation
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...m-modification/src/main/java/com/powsybl/iidm/modification/scalable/VariationParameters.java
Outdated
Show resolved
Hide resolved
…eOnX methods static Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/Scalable.java
Outdated
Show resolved
Hide resolved
...idm-modification/src/main/java/com/powsybl/iidm/modification/scalable/ScalingParameters.java
Outdated
Show resolved
Hide resolved
/* | ||
* Copyright (c) 2023. , All partners of the iTesla project (http://www.itesla-project.eu/consortium) | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here there should also be the license id: SPDX-License-Identifier: MPL-2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the licence header is not the one to use. The European iTesla project no longer exists (it ended in 2016).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea why this one was configured, I switch it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 2023 + license ID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified
…UP mode, added priorities Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
…r, added a test on the depreciated methods Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
...idm-modification/src/main/java/com/powsybl/iidm/modification/scalable/ScalingParameters.java
Show resolved
Hide resolved
...idm-modification/src/main/java/com/powsybl/iidm/modification/scalable/ScalingParameters.java
Outdated
Show resolved
Hide resolved
...idm-modification/src/main/java/com/powsybl/iidm/modification/scalable/ScalingParameters.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/Scalable.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...idm-modification/src/main/java/com/powsybl/iidm/modification/scalable/GeneratorScalable.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/Scalable.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/Scalable.java
Outdated
Show resolved
Hide resolved
…both Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/ProportionalScalable.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/Scalable.java
Outdated
Show resolved
Hide resolved
.../iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/ScalableAdapter.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/scalable/StackScalable.java
Outdated
Show resolved
Hide resolved
…ntPower Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
...-modification/src/main/java/com/powsybl/iidm/modification/scalable/DanglingLineScalable.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
...idm-modification/src/main/java/com/powsybl/iidm/modification/scalable/ScalingParameters.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
New feature
What is the current behavior?
What is the new behavior (if this is a feature change)?
Allow the user to easily scale a power variation on a group of load or generators using different kind of distributions
Does this PR introduce a breaking change or deprecate an API?
Other information: